profile_values
profile_values (alias, arr[, doc])
Returns the number of allowed values for the profile class identified by the specified alias.
• alias — The profile class to be evaluated.
• arr — An array of the allowed values for alias. The array is populated in the order in which the values are specified in the profiling session configuration file. profile_values returns the count of the array arr.
• doc — Optional. The identifier of the document tree. If doc is omitted or is 0, the current document is used.