add sentence occurence func