added frequency count stats