The input for the program is a sequence of integers that concludes with the number . Your task is to determine the length of this sequence, not counting the final zero.
A sequence of integers, with each number on a separate line.
A single integer representing the length of the sequence.
Example 1