Question: how many events are in a pentathlon?
About the article "Modern pentathlon", section "Abstract".

Candidate passages:
There are many specific pentathlons consisting of certain sets of events.
Ancient Olympic pentathlon, an Ancient Greek game comprising long jump, javelin, discus, foot race, and wrestling  Athletics pentathlon, a custom sport for track and field events  Classic pentathlon, an Olympic event from 1906 to 1924  Indoor pentathlon, a custom sport for indoor games  Paralympic pentathlon, a custom sport for the Paralympic Games  Women's pentathlon, custom sport for female athletes, replaced in 1984 by the Heptathlon  Modern pentathlon, a custom sport for modern Olympic Games * Modern pentathlon at the Summer Olympics, a history of the modern pentathlon's use at the Summer Olympics  Aeronautical pentathlon  Military pentathlon  Naval pentathlon  
The pentathlon consists of five track and field events, with a points system that awards higher scores for better results in each of the five components.
The five event scores are summed to give a total for the pentathlon. 
The first women's pentathlon was introduced at the fourth Women's World Games 1934 in London.
The first modern women's pentathlon was contested in the Olympics from 1964 until 1980 (five editions), and it was replaced in the 1984 Summer Olympics with the heptathlon.
The event was contested in the European Athletics Championships from 1950 to 1978.
However, it has never been contested at the IAAF World Championships in Athletics—since that competition's inception in 1983, the heptathlon has always been contested.
Women's pentathlon had a different set of events than the ancient Olympic pentathlon.
The events were shot put, high jump, a hurdling race, sprint and long jump.
Pentathlon is sometimes contested instead of heptathlon even today because of facility limitations.
Indoor arenas are incapable of hosting events such as the javelin throw.
The events in indoor pentathlon are 60 metre hurdles, high jump, shot put, long jump and 800 metres.
The current world record belongs to Nataliya Dobrynska, who scored 5013 points on 9 March 2012 at the World Indoor Championships held in Istanbul.
The pentathlon is also common in high school athletics.
It is simply a smaller version of the decathlon or a heptathlon.
For girls, it is 100 m high hurdles, long jump, shot put, high jump, and an 800 m run.
The pentathlon is used because it is less stressful on the athletes than a full multi and because many high school meets only last one day, it allows the event to be contested in the time limit. 
Military events.
Military and naval pentathlon.
By the middle of the 20th century, many of the skills in the modern pentathlon were becoming less relevant to the modern soldier (such as fencing and horse riding).
A French army officer, Captain Henri Debrus, adapted a military training method into a five event competition.
The five events are: shooting, obstacle running, obstacle swimming, throwing, and cross country running.
The sport is governed by the International Military Sports Council (CISM) and an annual world championships has been held since 1950. 
The event was first held at the 18th Ancient Olympiad around 708 BC, and changed format a number of times.
By the 77th Ancient Olympiad, the pentathlon was generally ordered into three sections: the "triagmos" of the long jump, javelin throw, and discus throw, the "stadion" foot race, and wrestling as the final event.
The first three events were generally not held as individual events, but rather as only part of pentathlon competitions.
It is unclear how a winner was chosen, but it has been suggested that the victor of all five events, or perhaps just three events, was declared the overall winner.
Similarly, historians are uncertain as to how the wrestling event was competed and how victory was achieved.
The wide variety of skills needed to compete meant that pentathletes were held in high esteem as physical specimens: in "Rhetoric", Aristotle remarked "a body capable of enduring all efforts, either of the racecourse or of bodily strength...
This is why the athletes in the pentathlon are most beautiful".