added COUNT role
first steps towarding count permission
Merge pull request #1227 from RoanKanninga/master

first steps towarding count permission