add visit count
change the flaws migration
rearrange the visit count