Add offset/limit tests including one failing one, remove duplication.
Aggregate.count should return some integral type
Remove redundant type signatures
TODO move distinctU to Internal
Add a commented, failing test which should pass