Let’s say, I want to connect many external drives to Rock Pi 4, how many drives I can connect using USB hubs?
If the kernel has no limit you will be limited by USB design. However about the specific number - I don’t know. It can be up to 127 devices.
Google: usb maximum number of devices