validate count bricks