Added countRows() function to count the number of records displayed in the table on Oem class