Counting game with fruits in a tree