For those simple objects, it's unnecessary to write the find and count methods again and again.
Caused by #20821 Fix #23110