Detective Comics (vol. 1) #336 (Feb. 1965):
“Batman’s Bewitched Nightmare!”
by Gardner F. Fox, Sheldon Moldoff, Joe Giella
8 characters in this story:
The ComicBookDB.com entry for this story notes: "Zatanna does not seem to appear in this story - but she, in fact, does. Indeed, the relevance of this story to the 'Search for Zatara' arc is not made plain except in the pages of Justice League of America #51." The issue referred to in this note - Justice League of America #51 - was published in February 1967, which is two years after "Batman's Bewitched Nightmare!" was published in Detective Comics #336.