This is a quick summarized from Wikipedia
Dighka Nikaya 34 sutras
Majjhima Nikaya 152
Samyutta Nikaya 2889, according to commentaries it is 7762
Anguttara Nikaya 9565
Khuddeka Nikaya 15 (according to Thai), 17 (srilanka), 18 (Burmese)
Total : let's use higher number 34 + 152 + 7762 + 9565 + 18 = 17531 (Pali tradition)
Both Pali and Sankrit can be said less than 50 (upper bound according to Wiki)
Dhammasangani (-saṅgaṇi or -saṅgaṇī)
For all, the total is only less than 18000. This one we can say Pali tradition.
18000 vs 84000 is really huge. I think it is super hyperbolic.
I have no idea how many Sankrit text both Mahayana and Vajrayana. If we roughly know the number and just count, it will be quite interesting to see the total number.
I personally don't think human has 21000 or even until 84000 afflictions for example, even you list down anger, jealousy, etc., you won't get that much individual vocabulary for afflictions.
On the other hand, if this 84000 is actually the number of teachings or sutras, not just a metaphor number, the validity of Sankrit can be proved from here to be very certain.
If we see when Nalanda university was burn, the library took a few MONTHS.
he library of Nalanda, known as Dharma Gunj (Mountain of Truth) or Dharmagañja (Treasury of Truth), was the most renowned repository of Buddhist knowledge in the world at the time. Its collection was said to comprise hundreds of thousands of volumes, so extensive that it burned for months when set aflame by Turkish invaders. The library had three main buildings as high as nine stories tall, Ratnasagara (Sea of Jewels), Ratnodadhi (Ocean of Jewels), and Ratnarañjaka (Delighter of Jewels).
From the calculation there are still around 84000-18000 = 66000 teachings. This number is a lot and it makes sense that you need until 3 main buildings with 9 stories tall.
I am not here nor there.
I am not right nor wrong.
I do not exist neither non-exist.
I am not I nor non-I.
I am not in samsara nor nirvana.
To All Buddhas, I bow down for the teaching of emptiness. Thank You!