recordCount method added on File