Tag Selected: how to calculate quantity of bricks