How many of Ibn Sina's longer works were said to have been created in Rey?