結果 : how to count without using count in python