As far as my knowledge goes, you'll have to fly for 5hrs on the license you choose to obtain your commercial pilot license on. Say, if you have a Multi Engine endorsed CPL then you'll have to fly 5hrs under the hood/actual on the Multi engine a/c you've been endorsed on.