Virgin or non virgin?

Does it count as losing your virginity if  the tip just touches the vagina and not go inside? Or does it have to completly go inside to not be a virgin?