[Pebbles 007] count mathematics