Streaming algorithm for computing kmer statistics for massive genomics datasets