[Gem Agate 003] count mathematics