You read a string and convert it to an integer value. Why do you then convert it back to a string? And in your loop you test if the character is equal to the integer value 0, which will never be true. All you need is:
count = 0
number = input()
for i in number:
if i == '0':
count = count + 1
print(count)