A note on observables for counting trails and paths in graphs