for how many pms did the politician work , whose successor was herbert gladstone ?
SELECT DISTINCT COUNT attr_open var_uri attr_close where brack_open dbr_Herbert_Gladstone,_1st_Viscount_Gladstone dbo_successor var_x sep_dot var_x dbp_primeminister var_uri sep_dot var_x a dbo_OfficeHolder brack_close