Is your feature request related to a problem? Please describe.
rapidsai/cudf#20861 is looking to replace copy_if and count_if in thrust with something better. We have some calls to these APIs in spark-rapids-jni. When that PR goes in we should look at migrating to cudf::detail::copy_if and cudf::detail::count_if