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