No, while the hero is inactive in your camp, it does not count as one of your four units that you can have in your camp. When you draw units, draw until you have four, excluding your inactive hero. Active heroes in your camp do count towards your unit limit, however.