PagedList.getTotalSize does not return -1 if the count query is disabled as stated in the Javadoc. Blaze-Persistence version: 1.6.17