You can query the DB2 catalog tables to retrieve the number of index levels and number of leaf pages. Furthermore, you can determine the average key length and the page size for index pages. Based on that, you can determine the fan-out on a single index level: page size / avg key length. This and the index tree height gives you the estimated number of non-leaf nodes.