def _count_zero(number):
    """Counting the number of zeroes in the given number."""
    zero_count = 0
    while number > 9:
        if number % 10 == 0:
            zero_count += 1
            number /= 10
        else:
            break
    return zero_count