Return the number of pair of pole of the Lamination
self (LamSlot) – A LamSlot object
p – Number of pair of pole
int