Add count.c (homeworks!)