Added setCounts method
Removed counts method