Returns the number of buttons on the joystick.
buttons = love.joystick.getNumButtons( joystick )
number joystick
number buttons