While everyone might be focusing on the perfect number of rounds to carry with you that's not the OP's question. He more or less stated that he wants a single stack gun, specifically the Shield, and asked for opinions concerning either 45 or 9. The question wasn't about is 6,7 or 8 enough but which gun is preferred.
That said, someone else asked a good question. Can you get back on target with the 45 as well as the 9? If not, the 9 is probably the better choice. If you do have to defend yourself with it, getting quick shot on target is what you will need. I won't matter how big the holes you punch in the air are if you miss. Also, after reviewing the ammo testing on Luck Gunner, I gained quite a bit more confidence in the 9mm over the .45 in short barreled guns. In that narrow use case, there seemed to better more reliable penetration and expansion without over penetration and failure to expand. JMHO