implemented queue into cli to print count and to clear the queue
fixed a broken call and add a new message for clearing the queue