Count the bill in python program