Add count method to AFArray.