Trailing Zeros Counter Count the consecutive zero digits at the end of a nonnegative integer. Description Count the consecutive zero digits at the end of a nonnegative integer.