Adds the ability to fetch partial result sets and counts.
Issue #6