Save state of counting input