Return total amount of keys generated by wallet_regenerate_keys