NPE when set count but not page.