Roughly 700 NES titles were released in total, with the commonly cited figure sitting around 694.
That count varies depending on what you include. Licensed North American releases number in the low hundreds, while adding Japanese Famicom games, European exclusives and unlicensed cartridges pushes the figure higher.
Retro resellers often advertise catalogues in the several-hundred range, which reflects how much of that library is still circulating in the second-hand market decades later.