Corrected function get_number_of_variable_sites