Option 1: Probably the most accurate
If you don't delete any beatmaps, you can group by 'ranked achieved' and type status=ranked in the search bar, then add up the amount of ranks that way.
Option 2: I don't believe this counts multiple scores on a mapset, just how many different mapsets you have scores on.
You can also add them up via the beatmap search and select "(Silver)SS" "(Silver)S" "A" "B" "C" "D" in the advanced options and add them up that way.
(If you have no B,C,D rankings, you can just use your profile to check since it has your SS S and A scores already, and would be 100% accurate)