Dear student!
Program is an organized way of different functions. For this, you need to know syntax rules (how to declare a function) as function declaration contains return type. As well as you can easily count number of functions by counting function declarations. Learning syntax rules is most important.