Increment input_length counter on each update.