public async Task <int> GetCount(string category, bool includeUnpublished, CancellationToken cancellationToken = default(CancellationToken)) { await EnsureBlogSettings().ConfigureAwait(false); return(await _postQueries.GetCount( _settings.Id, category, includeUnpublished, cancellationToken) .ConfigureAwait(false)); }