How the genome assembly be done after k-mer counting?
There are multiple ways of doing genome assembly.
The term you are probably looking for is "De Bruijn-Graph based assembly". Using this you can find a lot more different explanations of how it is done. 

Another frequently used method is "Overlap Layout Consensus assembly", which in fact is not based on k-mer counting.