There Are 360 Joints In The Human Body – How Could Prophet Muhammad Know?

Up until 1995 it was believed there were only 340 joints in the human body. However, scientists then found 20 more! How could Prophet Muhammad know that there were 360 joints in the human body, as narrated in the hadiths?