Fix DB_Proxy.php to get the total number of records in the main table for FileMaker Server

Sorry, I have fixed DB_Proxy.php again. Related pull request is #180.