Text this: Large deviations for counting processes