There are nine kids in a class. When any two meet, each says "hi" to the other and the answer "hi" follows. Before the class starts, how many times would one hear the word "hi"?