Caitlyn did 6/7 of the problems on her math correctly and 4 incorrectly. She did all the problems. How many were there?