<Tr> <Th> Box office </Th> <Td> Total (5 films): $4,523,635,267 </Td> </Tr> <P> Pirates of the Caribbean is a series of American fantasy swashbuckler films produced by Jerry Bruckheimer and based on Walt Disney's theme park ride of the same name . </P> <P> Directors of the series include Gore Verbinski (1--3), Rob Marshall (4) and Joachim Rønning and Espen Sandberg (5). The series is primarily written by Ted Elliott and Terry Rossio (1--4); other writers include Stuart Beattie (1), Jay Wolpert (1) and Jeff Nathanson (5). The stories follow the adventures of Captain Jack Sparrow (Johnny Depp), Will Turner (Orlando Bloom) and Elizabeth Swann (Keira Knightley). Characters such as Hector Barbossa (Geoffrey Rush) and Joshamee Gibbs (Kevin McNally) follow Jack, Will and Elizabeth in the course of the films . The fourth film features Blackbeard (Ian McShane) and Angelica (Penélope Cruz), while the fifth film features Armando Salazar (Javier Bardem), Henry Turner (Brenton Thwaites) and Carina Smyth (Kaya Scodelario). The films take place in a fictional historical setting; a world ruled by the British Empire, the East India Trading Company (based on the real East India Company) and the Spanish Empire, with pirates representing freedom from the ruling powers . </P> <P> The film series started in 2003 with Pirates of the Caribbean: The Curse of the Black Pearl, which received positive reviews from critics and grossed US $654 million worldwide . After the first film's success, Walt Disney Pictures revealed that a trilogy was in the works . The franchise's second film, subtitled Dead Man's Chest, was released three years later in 2006; the sequel proved successful, breaking financial records worldwide the day of its premiere . Dead Man's Chest ended up being the number one film of the year upon earning almost $1.1 billion at the worldwide box office . The third film in the series, subtitled At World's End, followed in 2007, and Disney released a fourth film, subtitled On Stranger Tides, in 2011 in conventional 2D, Digital 3 - D and IMAX 3D . On Stranger Tides succeeded in also grossing more than $1 billion, becoming the second film in the franchise and only the eighth film in history to achieve this . </P>

How many pirates of the caribbeans movies are there
find me the text answering this question