Count Pulses from Water Meter and Open Valve Every 'N' pulses

That is why an interrupt should be short as

void IRQ()
{
counter++;
}

and your LCD will never notice.