added a method to block_diagram_xml block instances to help
determine the number of outputs