number of scripts

How many scripts can yuou attach to a controller/object? is there a limit built in to blender or is it purely down to number-crunching cpus’

I’ve got no idea if there’s a maximum of python script for blender, but I know there’s a maximum amount of scripts for the drop down menu, not sure how much. :-?