Adding sql count and gauge types
tests for sql count and gauge types