added function to count the number of tweets in the tweetstream db collection
added functionality for streaming and a timeout for the entire server after 12 hours