Fixes #4. Tile score and count bug