I agree. First issue is tank size, and then male/female. I also have a group of six in a 33g, there are two males and two females that I know of because they have spawned at opposite ends of the tank. The remaining two I'm not sure of, but in this tank which is thick with floating plants, they are fine.
The Harlequin Rasbora would be fine with the gourami. I have a group of Trigonostigma hengeli (similar to the slightly larger Harlequin) in with mine, and a group of Brevibora dorsiocellata (the "Emerald Eye" Rasbora).
Celestial Pearl Danio would be better on their own, in a group of 20. Dominant males can be feisty, so the larger group can spread this out.
Byron.