fix: check count_sets key length