Count length of items in collection