* added rowCount and maxId methods to table class