File Handling - Calculating the number of records in a binary file using ftell