Count Using Case Sql Command Run