This example displays the count of all the DataPilot tables in a sheet.
DataPilotTables tables = sheet.getDataPilotTables(); System.out.println(tables.getCount());
Related information
Count property