How many men and women competed in gymnastics events at the 2004 Olympics?

Well I think many people were inspired by Carly Patersons victory and I know she has many fans all over...did you know she quit gymnastics to become a singer??