Calculate total students