The counted noun takes the same grammatical form after three and twenty.

Advanced Parsing Workshop: Integrated Grammar