Temp fix for total number of records returned