Implemented number of tweets analyze and some refactorings.