protected override async Task <long> RunQueryAsync(CountEntitiesQuery <T> message) { return(await _searchProvider.CountAsync(message.Query)); }