The hub has usually 1 speed magnet though as vfr has mentioned sometimes maybe 6 for the display reading, also surrounding the copper windings are a further 16 -20 magnets to help configure the ratio for correct speed calculation.
For light off-road vehicles, hub motors may be a viable option due to their simple and compact size, but they may not be the best choice for high performance.
If you take good care of your electric skateboard and its parts, your hub motor should last for years. With proper care, your skateboard can provide years of fun.
Choosing the right size hub motor for your vehicle depends on factors such as the weight of the vehicle, desired speed, terrain, and motor efficiency. It is recommended to consult with a motor expert and perform proper testing to determine the appropriate size for your specific needs.