結果 : count using if statement