Move count method to Playground service. Cleanup.