Is that statement true though? The only person I know who owns a gun is a farmer and he never shot a criminal but wild boars. In the countries I lived(2 Western Europe, 1 Eastern Europe, 1 Middle East) no one I know ever shot at any criminals, any criminals were dealt through the police, we actually never saw the criminals because they avoid the confrontation even if you don't have any arms. The only time I was a victim of a crime where I was confronted by the criminal, it was when a person really high on drugs tried to rob me on a train. I wouldn't be shooting that person anyway, I simply notified the security at the train station and professionals took care of it. The rest of the times the criminals I encountered are usually things like selling me fake SD cards, which is also something I wouldn't shoot people for(though I wouldn't oppose capital punishment for fake media storage).
Is this different in the US? Are people shooting at criminals all the time? Will a JavaScript programmer in Austin be defenceless in the face of the dangers in Texas if they made the guns illegal? What's the situation on the ground? What is the number of criminals shot per year by an average US citizen?