Fixed warning of comparing int with unsigned int in get_no_vertices