number Of Allocations
Computes the number of different allocations of the resource held by the entity. Recall that allocations can be for different amounts.
Return
the count of the number of distinct allocations
Parameters
entity
the entity that might be using the resource