The title is a quote from "Casablanca."
When Frasier looks into the telescope for the first time he says "There are a million stories in the naked city". This references Jules Dassin's off-beat murder investigation film "The Naked City" (1948), mixing documentary and film-noir. The actual quote at the end of the film is "There are eight million stories in the naked city; this has been one of them."
A clip is shown