public static int GetTotalCount(int siteId)
        {
            var total   = 0;
            var entries = DataCountManagerCache.GetDataCountsCache(siteId);

            foreach (var state in DataState.AllStates)
            {
                total += entries[state.Value];
            }
            return(total);
        }
        public static int GetCount(int siteId, DataState state)
        {
            var entries = DataCountManagerCache.GetDataCountsCache(siteId);

            return(entries[state.Value]);
        }