GetPMErrorRecordCount

For internal use.