Count total number of elements of key in pList


I would like to know if using asoc is possible to count elements (without creating a small routine that parses the entire pList) a “key” (Array or Dictionary) that is placed many times inside the pList.
Something to one-liner command… that say "count the contents of key “xyz” everywhere in the pList
This because for manage a progress bar in myApp, I need to know before the total number of objects and when I parse the pList getting the object I pass the data to InDesign for automatic pagination and I increase the counter for the progress bar.

Stefano - Ame

In short, no.