How to quantify focus?

I’ve searched the forums and haven’t come across any discussion on this topic. Keeping track of lapses in one’s focus is one approach that comes to mind. Any others?

Moving this to the open forum here.