Returns the number of hats on the joystick.
hats = love.joystick.getNumHats( joystick )
number joystick
number hats