added stats methods to counter model. only tested the hour function
but day and month should follow logically. The sort by week needs work.