Issue #139: Fix count and pagination.

Hmmm, I changed this b/c I saw those notices in the tests. Does that mean that we cannot rely on the defaults?