python counting number of presence and absence of substrings in list of sequences python counting number of presence and absence of substrings in list of sequences numpy numpy