public static IDictionary<T, int> ToOccurances<T>( this IEnumerable<T> arr, IEqualityComparer<T> c = null )