Make Collection#length uses Atom metadata to determine length instead of iterating over collection.