Counting lattice paths using fourier methods (2019)