TotalTermCount class in java created.