Fix inclusion of message when counting tokens from message editor (#29443)

Accidentally omitted this in #29233

Release Notes:

- N/A
12c645e154Michael Sloan committed on 4/25/2025, 8:21:20 PM· committed by GitHubparentcfb7a30
1 file changedLine totals unavailable