alternative solutions

using number --> string --> array , take_last_while
Merge pull request #7 from 404pnf/patch-5

alternative solutions to counting zeros in a number