Count Using Case Sql Command Line