I don't know the number of links, but it's easy to measure on the bike. On a typical new chain, count back four pins (on the side without the started pin) and drive it to shorten the chain.
To measure it on-bike, string up the chain so the loose ends are on the bottom, and draw them together. Put on small cogs, pull so there's some tension on the jockey wheels, mark and drive out a pin. Put chain together and test on stand. Put it into the big cogs to make sure you've got enough chain. Put in the small cogs to make sure there isn't flop in chain.
Cheers, Geoff