first try
create count bracket method (try)