In the converted version, tua is nominative because it agrees with Roma (just as in the original version, tuae is dative because it agrees with Romae); in the converted version Roma is nominative because it's the subject of habet. Both versions mean: "Your Rome--that Rome of yours--has as many girls as the sky has stars."