There's no fixed number of flashbacks in Slumdog Millionaire — and counting them misses the point. Danny Boyle and screenwriter Simon Beaufoy structured the film as a seamless interweaving of two timelines:
The flashbacks aren't discrete episodes — they're structural DNA. The film moves fluidly between timelines, often blending them in single shots (young Jamal's face morphing into adult Jamal's). The transitions are thematic, not mechanical.
The number varies by edit (theatrical vs. extended), but the function is constant: every past moment explains a present answer. The structure is the story.