How to update youre table to count the blocks in your model, and update youre table when you add new blocks with attributes Source: Autodesk