add Term Count of GPDD
Term Counting Function