Get the number of points were added to the ui element
the number of points were added to the ui element