Added extension for count of documents in a collection.