countModelElements

fun countModelElements(targetClass: Class<*>): Int

Counts the number of ModelElements of the provided class type that are in the cell. Use X.class for the search, where X is a valid class name.

Return

the count

Parameters

targetClass