I've had harmony with as few as 5 together, but in general the more the merrier.
Each group is dynamic and its hard to know how the pecking order will settle in.
Moving things around and or adding fish can help, at least in the short term.
The best situations for me have been when I started with a group of 10+ of the same size from the get go