Returns the total number of AMPs that are in online or hold state within the same node as the invoking AMP.
If this method is invoked from a table operator that is associated with a map, then getNumAMPs() returns the total number of AMPs that are in online or hold state within the specified map and on the same node as the invoking AMP.