Meter with electronic register, strainer, air eliminator and solenoid valve