kmer counting in python