Katy Perry Reveals How Long She's Gone Without Having Sex

'Roar' singer dishes on what she does to 'attract the male.'

Ever wonder what Katy Perry's secret is to getting a guy? No, it's not her looks, killer style or her voice: It's crystals.

Katy sat down with Chelsea Handler for the July issue of Cosmopolitan and she divulged to the E! talk show host the reason she has such a hard time staying single.

"I carry a lot of rose quartz, which attracts the male," Katy said according to E! News. "Maybe I need to calm it down with the amethyst."

Not surprisingly, while chatting with Chelsea, the topic of sex came up. The comedian boldly asked how long the "Roar" singer has gone without sex.

"Maybe six months or a year," Katy answered. "I don't stay single for long."

The singer, who stays away from one-night-stands, also revealed that when she's in a relationship she's not "super strict" when it comes to her sex life.

"I'm not like Professor Higgins with my sex life. I'm not super strict. For me, the most important thing about sex is connection," Katy added. "If I could bottle up oxytocin -— that chemical that's released when you're having sex -- and put it in a new perfume, I would do it for sure."

Perry wasn't off the hook when it came to talking about past boyfriends, though. She answered the question on a lot of KatyCats' minds: Would she ever get back with John Mayer?

"I know it sounds really hippie-sh--, but I'm living in the now and not fantasizing about the future or [being] torn up about the past. I'm super Eckhart Tolle. I have a lot of respect for [Mayer] still, and I know it goes both ways," she said. "There's no bad blood, but I'm sure there will be inspired songs."

And it seems Mayer is totally cool with his ex turning her emotions into a hit song.

“I have super strength for gang-ups, I’m fine,” Mayer told TMZ when asked if he was bothered when old girlfriends write songs about him. “That’s what you’re supposed to do, man -- you’re supposed to write songs. You’re just not supposed to tell everybody you’re doing it.”