Counts in pagination can be negative, changed NSUIntegers to NSIntegers