10 motor system

Hi!!. We are doing a project which requires to control 10 motors. I want to know if there is any method to do so by customizing firmwares, because pixhawk has only 8 output pins?