Dirty Mind informal noun
Used to describe a person who tends to have vulgar, obscene, or lewd thoughts
He must have a dirty mind to come up with such things.
I know with your dirty mind, you will definitely come up with a crazy joke.
To be thankful or grateful for one's good luck usually while avoiding a bad situation
You should count your lucky stars as you managed to avoid that violent car accident.