In the 17th century, French mathematician Pierre de Fermat found a number that is one more than a square of an integer number and one less than a cube of another integer number. How many such numbers are there?