Inheritance: Andover.Domain.Core.Results.ComponentResultBase
        private RecordCountAnalysis GetRecordCountAnalysis(string query, int maxSize)
        {
            RecordCountAnalysis rca = null;
            var result = _provider.GetFirstResult<RecordCount>(query);
            if (result != null)
            {
                rca = new RecordCountAnalysis()
                {
                    Count = result.Count,
                    IsCountPastThreshold = result.Count >= maxSize
                };
            }

            return rca;
        }