add history for the count of tweets

Running time is divided into intervals and the sum of tweets received during each interval is stored.
Length of the interval in milliseconds can be changed in config file.