Limit amount of UDP connections

I'm curious if the firewall in OpenWrt can also obtain a similar result to tomato in being able to limit the number of UDP connections an IP can have. As mentioned here

I was wondering if this is close to what is presented above but with only limiting UDP connection to IP and not TCP which is showcased above?

The INPUT concerns traffic destined to the router. The OUTPUT traffic from the router.
If 1.101 is a host IP, the OUTPUT rules will never match. You might want to use the FORWARD chain, or even better zone_lan_forward and zone_lan_input