You can divide the ten or the twenty for male bettas, but it would probably be more interesting to keep a sorority of 5-10 female bettas in the 20 long. A ten is on the small size for a community (in my opinion, you can't really have more than 2 fish species in a 10), but the 20 long could work for a community of small fish and may even be able to have a school of fish in addition to the sorority if you went that route.