Get the count of uses of a given resource.
ar - connected arduino object
resource - name of resource to get count for.
count = count of uses registered to resource.
See also: incrementResourceCount. decrementResourceCount.
Package: arduino