private static int CountMax <T>(T items, int maxCount) where T : IEnumerable { return(CollectionCounter <T> .CountMax(items, maxCount)); }
private static int Count <T>(T items) where T : IEnumerable { return(CollectionCounter <T> .Count(items)); }