трое, четверо, пятеро, и пр. are not nouns. They are a special kind of numeral. They originate from the dual number, I think, which no longer exists in Russian, but other Slavic languages still have it.