optimizer block counter