The command get-list-item-percentage seems not to work. Checking an attachment list with this command answers the following exception even if notes are present:
org.jaxen.FunctionCallException: The get-list-item function found the following input parameter validation errors: -- The property name specified in the third parameter does not exist in List objects.
I am working with LiveCycle ES 2.5.
The third parameter is useful when you search for a text against a property of the list items.
For example, if each item in the list (say User object) containing a property named 'role', then you can search the percentage of users who belongs to manager role.
Conversly, if the list items are simple types such a List<String>, you cannot search a value against any property name. This will cause an error. However you can directly search for it's value and find the percentage.
Adobe Documentation explaining this function usage: