add $options parameter to order and limit results
add a method to count the number of results