4
You can argue as low as 3- Afroeurasia, America, Antarctica (with Oceania just being a bunch of islands)
6 deemed inhabited, 7 total
We were taught 7 but honestly Europe is not a fucking continent