A little custom character counting bash script, practical for academical reports