default or selected kernelversion does not have config value CONFIG_NETFILTER_XT_MATCH_RECENT_PROC_COMPAT.
Result is shown for kernelversion 5.4.194

Enable obsolete /proc/net/ipt_recent

configname: CONFIG_NETFILTER_XT_MATCH_RECENT_PROC_COMPAT

Linux Kernel Configuration
└─>Networking support
└─>Networking options
└─>Network packet filtering framework (Netfilter)
└─>Core Netfilter Configuration
└─>Enable obsolete /proc/net/ipt_recent
In linux kernel since version 2.6.28 (release Date: 2008-12-24)  
This option enables the old /proc/net/ipt_recent interface,
which has been obsoleted by /proc/net/xt_recent.