added count for terms page