Why isn't the right chain chosen according to the number of nodes who are broadcasting it?
Because the cost of pretending to be many nodes is trivial. IP addresses are cheap, and anyone who controls your internet connection can pretend to be everyone.

However, mining is inherently expensive. You cannot fake hashpower.