Fix for record count not displaying