implemented textbox on settings panel for count