public int groupSize(String grpName){
  int res=0;
  for (  HadoopCounter counter : cntrs.values()) {
    if (grpName.equals(counter.group()))     res++;
  }
  return res;
}

public int groupSize ( String grpName ) { int res = 0 ; for ( HadoopCounter counter : cntrs . values ( ) ) { if ( grpName . equals ( counter . group ( ) ) ) res ++ ; } return res ; }
returns size of a group .
