LPS-41495 Avoid countWithDynamicQuery methods change the projection of a dynamic query if the developer doesn't provide it explicitly.
LPS-41495 SF