Added countFigures