added visits count to create visit method