I’m on Ramelteon and no issues. Trazodone I believe is the one that makes people have to urinate more frequently. Ramelteon has a pretty good (as in nothing as far as I can tell) side-effect profile.
Actually Ramelteon has helped people urinate at night less frequently, google it and there are studies about it.
Medication can definitely mess with frequency but might be good to get checked out by a Dr to be sure.
It isn’t as strong as some of the benzos or hypnotics but it is not addictive and you can suddenly stop without having rebound insomnia.