Each of the $10$ dwarfs either always tells the truth or always lies. It is known that each of them loves exactly one type of ice cream: vanilla, chocolate or fruit. First, Snow White asked those who like the vanilla ice cream to raise their hands, and everyone raised their hands, then those who like chocolate ice cream - and half of the dwarves raised their hands, then those who like the fruit ice cream - and only one dwarf raised his hand. How many of the gnomes are truthful?