When I am counting the brackets to find the open block