Developing a unified pipeline for large-scale structure data analysis with angular power spectra - I. The importance of redshift-space distortions for galaxy number counts