How can i get an export (csv or xlsx) from all the used blocks (and their quantities) from my drawing?

This will be used as a bill of material. I do have the professional version. i checked out the toolbox functionality but i cannot see a way how i can add my own blocks. maybe there is a different way?