Code:
print open("main.c", "r").read().count(";")

a one line ; counter written in python. smile



btw. i posted a beta of my entry: http://www.coniserver.net/ubb7/ubbthreads.php?ubb=showflat&Number=206455#Post206455