paginated query
number of objects from xml