結果 : how to make a count function in python