Computing frequency of terms in tweets