Added get_options_count method