getting word count by time period