add get_holder_count method in API