I have complete project in C, which can be built with gcc or Visual Studio. There are no calls to external libraries.
I would like to know how many functions there
A tool for static analysis of C source code is Edison Design Group. It is the compiler front end and you can leverage it to calculate all sort of metrics for your code.