public void WhereLongCount()
        {
            var midPoint = MemoryListings.OrderBy(o => o.Id).Skip(MemoryListings.Count / 2).First().Price;

            Assert.Equal(
                data.SearchQuery <Listing>().Where(j => j.Price > midPoint).LongCount(),
                data.Memory <Listing>().Where(j => j.Price > midPoint).LongCount());
        }
        static CountTests()
        {
            data.LoadFromJsonToAzureSearch();
            data.LoadToMemoryFromAzureSearch();

            AzureListings  = data.SearchQuery <Listing>();
            MemoryListings = data.Memory <Listing>().ToList();

            MidPoint = MemoryListings.OrderBy(o => o.Id).Skip(MemoryListings.Count / 2).First().Price;
        }
        public void WhereCount()
        {
            var midPoint = MemoryListings.OrderBy(o => o.CreatedAt).Skip(MemoryListings.Count / 2).First().Price;

            var searchQuery = data.SearchQuery <Listing>().Where(j => j.Price > midPoint).ToList();
            var memory      = data.Memory <Listing>().Where(j => j.Price > midPoint).ToList();

            Assert.Equal(
                data.SearchQuery <Listing>().Where(j => j.Price > midPoint).Count(),
                data.Memory <Listing>().Where(j => j.Price > midPoint).Count());
        }