Put totalLength on the event (instead of collection)