countp(condition)


Description

just like countc function, but it's use on depends items
Returns the number of parent items under the item text.
If no condition then the condition implies all parent items

Example

countp()
returns the number of parent items for the current item

countp(il()>0)
returns the number of parent items on item levels greater than 1 (excludes the TLI)

Related Items

countc(), countd()