Inline CO2 bubble counter with built in check valve