Among the more than 37,000 people licensed to own handguns in New York City, according to a database obtained from the New York Police Department, are City Council members, actors, business moguls, lawyers and judges.