how many prime ministers did the predecessor of kim beazley serve ?
SELECT DISTINCT COUNT attr_open var_uri attr_close where brack_open dbr_Kim_Beazley dbp_successor var_x sep_dot var_x dbp_primeminister var_uri brack_close