Fix count access
Merge pull request #8 from mbehrendt/fix-count-access

Fix count access