added function that finds the modules with most functions