In the main game you'll get a decent number of guns. You can grind this out by just using your pistol until it unlocks, there's an in game total that will pop up every five or ten kills. You'll unlock this unless you specifically avoid using the pistol during the game.