from how many coutries do companies come , which are headquartered in the horseheads ?
SELECT DISTINCT COUNT attr_open var_uri attr_close where brack_open var_x dbp_headquarters dbr_Horseheads_ attr_open village attr_close ,_New_York sep_dot var_x dbp_country var_uri sep_dot var_uri a dbo_Country brack_close