Added methods to get counters
removed unneeded toString
added npe checks to getCounter and getCounterForInterval
Merge pull request #44 from amuramoto/master

Added methods to get counters