Changing counts to NSUInteger to match Obj C standard