Extracted Open email count to DbUtil class