Return the number of magnet on the Lamination
self (LamHoleNS) – A LamHoleNS object
sym (int) – Symmetry factor (1= full machine, 2= half of the machine…)
N_mag – Number of magnets on the lamination
int