Caching object counts for flattened collectionlist batch updates