To be honest, whilst there are some general understandings, it is better to give us a list to pick over. Sometimes a large group works better in a certain army, other times smaller groups.
Generally though, from what you have said, you are thinking along the right lines. 6 warriors should be enough to remain a functioning unit, without being wiped out, though with shooty you might get away with smaller numbers if they don't have to follow the close combat elements of the army; 16-20 gaunts/hormagaunts - again a good number to be thinking; Genestealers are a trickier buntch, but I recon at least 9 plus in a group should be sufficient.