(This requires a mind that has wisdom.) The seven heads are seven mountains the woman sits on. They are also seven kings:
Then the angel said to me, “The waters you saw (where the prostitute is seated) are peoples, multitudes, nations, and languages.