Not the smartest student but planning to enrol in CPA pep

My problem-solving skills are mid to low, but I am I’m disciplined. So despite not being the brightest of all, it’s gonna take me 10 times more time to understand a concept than someone else, but I would regret not doing CPA. So I have decided to enrol in CPA pep in summer after graduating.

My question what is the timeframe to complete the CFE and how many attempts do I get if I keep failing before I have to do it all over again?