Changed myArray.count to [myArray count]

Accessing NSArray’s size is now done using the bracket
syntax rather than the dot syntax, since count is not
declared as a property of NSArray.