Improved bracket counter