add number of figures