You just have to count the magnetic heavy point when you do one complete rotation of the rotor (hope it means what it means in french...). Usually, a 4 poles motor will have 12 points, 2 poles 6 points.
Inferno VE MMv3 NEU-CC 1515/1Y 4S "Flying machine"