add n_kmers() to CountingHash

Will fix #562