Added count check on dstr_list foreach test.