adding a count_all function, counting all rows in the given table
adding a fourth parameter to the get method, allowing you to only get the first item of a query (object)