Deleting orphaned list templates in a document.

From time to time, we come across support cases where customers need to clean up the list templates in a document.  While working with a document, there are situations when you will want to know how many list tempates are currently in use and when you check that value, it is a much larger number…