Flow Meter Installation Question, 6 inches minimum or required. More length?

I have 17 inches available pipe to work on it from the ground to the elbow.
My question is did I’m still able to install flow meter on that 17" pipe.
Please see the picture.