Does the letter k in electromagnetics represent wavenumber inside a cosine?
Yes, it does. The unit for wavenumber k is radians/m (2*pi/lambda) and unit for z(coordinate) is meters. When you multiply both, you end up with radians inside a cosine. Which is perfectly logical.