Adding totalCount property to Collection