add visit count and time support