cherry barbs tend to be very docile and stay hidden (they like a well planted tank to hide). they will sit away from the action and try their hardest not to get involved in aggressive struggles. they prefer to be kept single (in smaller tanks) and in pairs or trios (in larger tanks). yuo could get more, but the size of the tank would need to upgrade as well.
as for the stocking list... 29 gallon tank (30"x18"x12"), planted tank with sand substrate
2 Bolivian Rams
4 Kuhli Loaches
6 Three-Lined Corydoras
3 Cherry Barbs
1 Dwarf Gourami
i think you may be ok.
i don't know how rams will deal with a gourami as i hear that both can get a little territorial at times. it may work out though. each fish has a different temperment and personality. mine DG is fine in the tank with platies, cories and guppies. i put my blue ram in with my female betta tank (i know not a good choice, but i didn't know what the aggression would be like between the DG and BR. the blue ram is doing good with the female bettas (no fighting). i don't know about this for sure, but just a guess.
the biggest problem i see may be the cherry barbs and rams fighting over those "densley planted" areas for hiding as they both love those areas. make sure that there are clumps on both sides so both groups can have a territory with a "open water" in the middle. instead of the dwarf gourami and rams, you could put a school of harliquin rasboras in there.
the main thing with fish is that just because it works "now", it doesn't mean that it will later. you have to look at the fact that you have a balance in each strata, fish that tolerate the same conditions, aggressive level balanced and if not hiding places are provided, and most importantly... having a back up plan just in case it doesn't work out.
i beleive that this set up will work, maybe remove either the kuhlis or the cories (whichever you like the most keep). this will balance the bottom strata better.
well good luck
hope i helped