Text this: Representation of a trigonometric integral via combinatorial sums