how many have former teams as barys astana and hc lipetsk ?
SELECT DISTINCT COUNT attr_open var_uri attr_close where brack_open var_uri dbo_formerTeam dbr_Barys_Astana sep_dot var_uri dbo_formerTeam dbr_HC_Lipetsk brack_close