Test code to count the number of tweets for a particular time frame