結果 : how to do a count function in python