final String [] operands = getOperands();
if ( operands.length != 0 )
{
final String msg = "No arguments required";
printError( msg );
throw new IllegalArgumentException( msg );
}
try
{
establishProxy();
final int numMBeans = getProxy().mbeanCount();
println( "" + numMBeans );
}
catch( Exception e )
{
dm( e.getMessage() );
e.printStackTrace();
}