I2C Frequency Counter

Hello, I have a fish aquarium controlled by an Arduino Uno. Its really more of a test bed of arduino abilities for me. Its unnecessarily complicated so I can figure out how to do things with the Ardunio in preparation for future projects I want to do.

I want to add a flowmeter to measure the output of the filters, which will let me know when they need to be cleaned. The only reasonable flow meters I have found are hall effect sensors which needs a frequency counter to calculate the flow.

My arduino already has all of its pins full, and runs a lot of code, so I don't think it could reasonably calculate the frequency. I want an I2C frequency counter.

I've been reading about using an AT Tiny 85 chip as an I2C frequency counter, but the forum post I found said the guy had issues using I2C and frequency counting at the same time. Has anyone had experience with this? Or have any other ideas for what frequency counter to use? I have a bunch of ATMEGA328 stand alone chips, maybe I could just use one of those on a breadboard? The frequency would be something like 400hz, so I don't need any sort of external clock for high frequency use.

Thanks!

Save a pin and use serial, not I2C.... However that probably requires using SoftwareSerial
on the Arduino which uses timer1 IIRC.

If you have a bunch of processors dedicate one to some measurements and one to others, and communicate with each other via I2C (or serial, even).