\count1=10 \countdef\stage=1
\long\def\loop{
  line \par
  \advance \stage by -1
  \ifnum \stage>0 \loop \fi
}
\loop
\bye
