A shortage of WHAT ?
The term, "pilot shortage", is meaningless without an agreed upon consensus definition by those addressing the issue.
In all the years of discussion I've seen on this subject, I've yet to see one acknowledged and used as a basis for any discussion.
Until that happens, we're all The Blind Men and the Elephant.