@Deprecated
    public static int getNumDestinations(CodeBlock block, boolean followIndirectFlows, TaskMonitor monitor) throws CancelledException {
    	return getDestinations(block, null, followIndirectFlows, monitor);
    }
Get number of destination references flowing out of this block.
All Calls from this block, and all external FlowType block references
from this block are ignored.

@param block code block to get the number of destination references from.
@param followIndirectFlows indirect references will only be included if true
@param monitor task monitor which allows user to cancel operation.
@throws CancelledException if the monitor cancels the operation.
@deprecated this method should be avoided since it repeats the work of the iterator
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/block/SimpleDestReferenceIterator.java