Update text counts after saving text