Select the objects that you wish to see in the downloaded PDF
Count the number of data blocks in a global.