Question: What number film in the James Bond series was the next to use the title of an Ian Fleming story after the fifteenth?

Context paragraphs:
Licence to Kill: Licence to Kill (1989) is the sixteenth spy film in the "James Bond" film series by Eon Productions, and the first one not to use the title of an Ian Fleming story.  It is the fifth and final consecutive Bond film to be directed by John Glen.  It also marks Timothy Dalton's second and final performance in the role of James Bond.  The story has elements of two Ian Fleming short stories and a novel, interwoven with aspects from Japanese Rōnin tales.  The film sees Bond being suspended from MI6 as he pursues drugs lord Franz Sanchez, who has ordered an attack against his CIA friend Felix Leiter and the rape and murder of Felix's wife during their honeymoon.  Originally titled "Licence Revoked" in line with the plot, the name was changed during post-production due to test audiences associating the term with driving.

I Wish I Was James Bond: "I Wish I Was James Bond" was the fifth single from Scouting for Girls' debut album, Scouting for Girls.  It is the tenth track on the album, and on the album version it is followed by a hidden track called "Michaela Strachan You Broke My Heart (When I Was 12)".  The single peaked at #40 in the UK Singles Chart.  The song is about the spy James Bond from Ian Fleming's books and the James Bond movies and his world in general (girls, gadgets, 00 status, licence to kill and vodka martinis).  It mentions six of the actors who played as him and a lyric of the song is the 19th movie's title, "The World Is Not Enough".  It also references Bond's family motto invented by Ian Fleming in "On Her Majesty's Secret Service".

The James Bond Dossier: The James Bond Dossier (1965), by Kingsley Amis, is a critical analysis of the James Bond novels.  Amis dedicated the book to friend and background collaborator, the poet and historian Robert Conquest.  Later, after Ian Fleming's death, Amis was commissioned as the first continuation novelist for the James Bond novel series, writing "Colonel Sun" (1968) under the pseudonym Robert Markham.  "The James Bond Dossier" was the first, formal, literary study of the James Bond character.  More recent studies of Fleming's secret agent and his world include "The Politics of James Bond: From Fleming’s Novels to the Big Screen" (2001), by the historian Jeremy Black.

Casino Royale (2006 film): Casino Royale (2006) is the twenty-first spy film in the Eon Productions "James Bond" film series and the first to star Daniel Craig as the fictional MI6 agent James Bond.  Directed by Martin Campbell and written by Neal Purvis & Robert Wade and Paul Haggis, the film marks the third screen adaptation of Ian Fleming's 1953 novel of the same name.  "Casino Royale" is a reboot of the film series and as such is set at the beginning of Bond's career as Agent 007, just as he is earning his licence to kill.  After preventing a terrorist attack at Miami International Airport, Bond falls in love with Vesper Lynd, the treasury employee assigned to provide the money he needs to bankrupt a terrorist financier, Le Chiffre, by beating him in a high-stakes poker game.  The story arc continues in the following "Bond" film "Quantum of Solace" (2008), "Skyfall" (2012), and "Spectre" (2015) also feature explicit references to characters and events in this film.

Per Fine Ounce: Per Fine Ounce is the title of an unpublished novel by Geoffrey Jenkins featuring Ian Fleming's James Bond.  It was completed c.1966 and is considered a "lost" novel by fans of James Bond because it was actually commissioned by Glidrose Productions, the official publishers of James Bond.  It was rejected for publication, however, missing the opportunity to become the first continuation James Bond novel. " The Adventures of James Bond Junior 003½", a novel written by the pseudonymous R. D. Mascott, was later published in 1967 featuring James Bond's nephew; "Colonel Sun" written by Kingsley Amis under the pseudonym Robert Markham was published in 1968 as the first adult continuation novel following Ian Fleming's "The Man with the Golden Gun" (1965).

Thunderball (novel): Thunderball is the ninth book in Ian Fleming's James Bond series, and the eighth full-length James Bond novel.  It was first published in the UK by Jonathan Cape on 27 March 1961, where the initial print run of 50,938 copies quickly sold out.  The first novelization of an unfilmed James Bond screenplay, it was born from a collaboration by five people: Ian Fleming, Kevin McClory, Jack Whittingham, Ivar Bryce and Ernest Cuneo, although the controversial shared credit of Fleming, McClory and Whittingham was the result of a courtroom decision.

Felix Leiter (Dynamite Entertainment): Felix Leiter is a 2017 comic book miniseries featuring the eponymous character, who is primarily featured in Ian Fleming's James Bond novels and various other formats by several other creators.  Written by James Robinson and illustrated by Aaron Campbell, the comic book is a spin-off from the "James Bond" series published by Dynamite Entertainment, making its debut in January 2017.  It also marks the first time for Bond's ally and friend, Felix Leiter to get a solo adventure in any format overall.  It is also licensed by Ian Fleming Publications that hold the literary rights to the James Bond franchise.  Bond himself makes a cameo appearance in the comic book as part of a flashback.

The Living Daylights: The Living Daylights (1987) is the fifteenth entry in the "James Bond" film series and the first to star Timothy Dalton as the fictional MI6 agent James Bond.  Directed by John Glen, the film's title is taken from Ian Fleming's short story "The Living Daylights".  It was the last film to use the title of an Ian Fleming story until the 2006 instalment "Casino Royale".

Filming of James Bond in the 1960s: Ian Fleming, the writer who created the fictional character James Bond, lived to see the success of his novels depicted on screen before he died.  All fourteen books in the series created by Fleming went on to be huge successes on screen.  Goldfinger, one of the most epic stories in the James Bond saga, became a fan favorite with Shirley Bassey singing the iconic song, Goldfinger, that was played for the fiftieth anniversary of the Bond series at the Oscars in 2012.  Bond was played by Sean Connery and George Lazenby in the movies shot throughout the 60s.  The Bond movies were filmed all across the world and by different directors each time, with some of the old directors collaborating with the new ones.  The success of each Bond film lead to bigger budget prices for the following films adapted to the big screen.  Each movie recovered its budget and won critically acclaimed awards the years that they came out.  Of all the Bond films in cinema today, Thunderball is the most successful movie with the whole Bond series being the third highest grossing of all time in Hollywood cinema.

The Life of Ian Fleming: The Life of Ian Fleming is a biography of Ian Fleming, the creator of James Bond and author of the children’s book "Chitty Chitty Bang Bang".  The biography was written by John Pearson, Fleming’s assistant at the London "Sunday Times," in 1966.  Pearson later wrote the official, fictional-biography "" in 1973.  "The Life of Ian Fleming" was one of the first biographies of Ian Fleming and is considered a collectible book by many James Bond fans, since Pearson would become the third, official James Bond author.

Supporting paragraphs: The Living Daylights Casino Royale (2006 film)
Answer: twenty-first