counting the number of commas

From: bird (bird_at_village.org)
Date: 04/25/05


Date: Mon, 25 Apr 2005 07:47:25 -0500

I have a text file. I need to count the number of commas on each line
of the file. Is there any good way to do it?