Initial commit for page-owner.php, and modified countRows() function to be a universal function