count lines in c
count lines in bash