Yes — zero is very much a real number, and one of the more important ones.
It sits in the integers, the set of whole numbers running positive and negative along the number line, and it is the only integer that is neither positive nor negative. Zero is also the additive identity, meaning that adding it to anything leaves that thing unchanged. Without it, positional notation as we know it would not work at all, which is why its invention was such a big deal historically.
So if someone told you zero "does not count," they were probably thinking of counting numbers, which traditionally start at one. Zero is still a number.