Adafruit Flow Meter

Is it possible to connect the 3 pin adafruit flow meter (link below) directly to the Raspberry Pi GPIO pins and use this pulse input for flow rate in Kegberry?

I was going to write a program that would calculate the flow but I don’t know how to recognize or implement the information into Kegberry. Has anyone ever done this an easier way or have information on how to implement flow information from an Adafruit flow meter directly connected to the RPi3.

Thanks, I’m new to this.