too much sex and UTIs?

Hey guys, so can UTIs happen if you have sex a lot in a short period of time? Like I had sex about 6 times in a day for 3 days and got a UTI. I drank plenty of fluids and I wiped correctly and peed before and after sex and all that fun stuff. So now I'm thinking maybe it's not that I'm not being clean or hydrated, can having sex too much be the thing that causes UTIs too?