結果 : how to count integer in java