helper code to count sentences in files that are in conll format