Nobody can give an exact figure, because it depends entirely on what you count as a game. The categories include:
Gamebase 64, one of the largest databases online, holds around 21,000 entries — and that includes all of the above, with many titles duplicated across language variants and regional releases, plus a fair number of Italian bootlegs.
For unique commercial boxed releases, the estimate is roughly 10,000 to 12,000 distinct boxes, counting media variants, regions and compilations. That figure excludes unlicensed pirate productions, which were widespread in Italy and parts of Europe at the time and would push the number considerably higher.