I have custom PS1 bash prompt which includes command history count. It has work flawlessly for weeks, but today I noticed it's stuck at 2000. When I execute command, it gets to 2001 as it's supposed, but when I close terminal and open it again, it's again 2000. I don't remember doing any changes to terminal configuration. This problem occurs in gnome-terminal and xfce4-terminal as well.