bracket_count return_on_right_bracket

Fixes #4