I've counted!
For the inner thigh, it's 32 reps, 8 counts of rest, another 16 reps, 8 counts of rest and then a final 8 reps, then the other side. For the outer thigh, it's 32 reps, 8 counts of rest, then 16 additional reps. For the hamstring things, it's 58 (I think; my handwriting's bad...