Pseudorapidity distributions of photons in p-Pb collisions at $\sqrt{s\rm_{NN}}$ = 5.02 TeV