At least four or five according to on screen information.
I believe the meme above refers to:
Archer's NX Class (NX-01)
Kirk's Constitution class (NCC-1701 with no suffix, heavily modified to Constitution refit class for feature films 1 through 3)
Kirk's Constitution refit class (started the letter suffix system with A)
The Excelsior class seen briefly in Generations
the Ambassador class seen briefly in an episode of TNG
Picard's Galaxy class
Picard's Sovereign class (the most recent in the series with a suffix of E)
As the seven starships named Enterprise.
There is an 8th that has been seen on screen; Archer is given a brief glimpse of the future Enterprise J by his fairy godmother Crewman Daniels. This implies that an F, G, H, and possibly I will be commissioned. I is sometimes skipped with registration numbers because it can be confused with the number 1. So if the show's in-universe "present day" is where ST: Picard is, a few decades after the events of TNG, there are four, or possibly five, Enterprises implied or confirmed in canon to be built over the next ~250 years.
I think in the original she asks: "If you're a cop, name a law." His answer: "Don't kill." is correct, but not exclusive cop knowledge and thus no prove.
However, knowing the correct number of Enterprises is, in my opinion, proof for being a Trek nerd.
Or is this meme so meta that it's joking about the meme... I don't even, we live in a society!