Using the package gb4e for linguists in the beamer environment in combination with frame splitting commands \pause or environments overprint, I face the following problem: The number are "jumping" strangely.
The same happens when I use the beispiel environment (see below) in combination with \pause command or the splitting environments. Therefore, I believe, that it is a general problem of a certain kind of counters with these commands and environments. My question is: How do I avoid this odd jumping behaviour? (In regard to the gb4e based environment the answer is more important. The other I just provided to show the general nature of this problem. However, I would like to see a possible solution here as well, to get a deeper understanding of LaTeX.)
\documentclass{beamer}
%\usetheme{Bergen}
\usepackage[ngerman]{babel} %dt. Silbentrennung
\usepackage[applemac]{inputenc}
\usepackage{gb4e}
\newcounter{beispz} %Beispiele mit durchgehender Nummerierung und in italics
\newenvironment{beispiel}
{\stepcounter{beispz}
\begin{enumerate}\item[(\arabic{beispz})]\linespread{1}\em}
{\end{enumerate}} %\label{\stepcounter{beispz}}
\begin{document}
\begin{frame}
\begin{exe}
\ex Du bist mir ein feiner Freund!\pause
\ex A: Wie viele Einwohner hat New York?
\end{exe}
\end{frame}
\begin{frame}
\begin{beispiel} asdfas\end{beispiel} \pause
\begin{beispiel} hand\end{beispiel}
\end{frame}
\end{document}
Remark: Werner gave a possible solution. It involves manually setting the counter number by adding \addtocounter{}{+previous no} in front of the counting environment and using \addtocounter{}{-last no} in the end of the environment (see below). For example:
\begin{beispiel}a\end{beispiel}\pause \begin{beispiel}b\end{beispiel}\addtocounter{beispz}{-2}\pause.
It works. But
As you can imagine, it involves a great deal of manual work if you are preparing a larger document. Therefore, I would like to ask if there is anyone out there who knows a solution that needs considerably less effort.

