If the 10G is properly filtered and aerated, I think you'll be ok for awhile... but what do I know? Look at my name! lol
I was recently told that my Barb tank is overstocked...
29G Long
Planted
Top Fin 30
RENA XP2
8 Tiger Barbs (3 Albino)
1 Red Tailed Shark
1 Mystery Snail