How many had green cards and how many were illegals
H1Bs, L1s, F1s, and several other categories of visa are also eligible.
I would say that 524 were illegal aliens, and that zero were legal aliens (LPR or legal work or student visa).