output variable for number of callbacks and the current number of callback