r774: compute the length of k-mer support