Just over nine years, so right about the point where the Chief's Mess starts plying you with phrases like "oh man, that's almost ten, and if you do ten, you might as well do twenty!" lol.
I was attached to the Connecticut for sea duty, and its overhaul took roughly half a decade, so the most ports I got to see were Pearl and Ketchikan during Sea Trials and shakedown runs, unfortunately. I did have a full deployment on one of the Ohios, but since their entire mission is to go lurk somewhere in case a weird world leader decides to get froggy, it was basically three months of Five Knots To Nowhere with a permanent forecast of 60°F and fluourescent, haha.
But I did get to see far more of the country than most of my family or friends back home ever have or will, and in the process fell in love with the Pacific Northwest, so I count myself fortunate in that regard.
How about you?