Returns a subset of the given objects based on the order of the objects.
If the count parameter is given, the number of objects returned will be limited to this
value. The offset parameter determines how many objects are skipped at the beginning.