Arduino counts per minute calculator?

Here's the schematic: Indrek's Geiger counter project