Refactor game.count method

Method is shorter and has a test.