adds methods hasRow() and countRows() to Toby_MySQL class