Added the number of spots to the DB

Everything working as expected, added the number of spots to the DB,
dealt with empty post requests ( the one line code).