Interestingly enough, we've never actually seen a planetary invasion in Star Trek, so we don't really know how many people it takes. Wars a thousand years ago could be won or lost by a couple of dozen horsemen, even if tens of thousands of fighting men participated. Global wars in the Trek 24th century might be decided by a thousand people with hand phasers. Plus their starships in orbit, of course.
Timo Saloniemi