public static MethodInfo LongCount_TSource_2(Type TSource) =>
(s_LongCount_TSource_2 ??
(s_LongCount_TSource_2 = new Func<IQueryable<object>, Expression<Func<object, bool>>, long>(Queryable.LongCount).GetMethodInfo().GetGenericMethodDefinition()))
.MakeGenericMethod(TSource);