How to automatically update the title of your YouTube video to accurately reflect the views and comment count in the title.
Amit Agarwal has a great eye for these little tweaks. The source post has all the code you need (one note to keep in mind is you might get into authentication loops if using other Google Apps Script services with this script solution)
Source: This YouTube Video Has n Views – How the Video Title Updates Itself – Digital Inspiration
Member of Google Developers Experts Program for Google Workspace (Google Apps Script) and interested in supporting Google Workspace Devs.