fix bug in getParamTypeCounts