There are currently 54,000+ free plugins available on WordPress, plus thousands of premium plugins & 5,000+ free themes available on WordPress.org.
Currently, Joomla has ~8,000 extensions in the official Joomla extension library. Getting the number of available Joomla templates is challenging because there is no official Joomla template library.