how many have former teams as barys astana and yertis pavlodar ?
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_Yertis_Pavlodar brack_close