Character Level = "total of all hit dice."
Doesn't matter if it is Class HD, Racial HD, Animal Companion (If you could be one) HD.
There is one rule that alters this. If you have a LA rating (+0, +1 or anything other than "-") and the race has One (1) Racial HD only, then if you add class...