code: public int getNumPoints() {
  		if (isEmpty()) {
  			return 0;
  		}
  		int total = 0;
  		for (Polygon polygon : polygons) {
  			total += polygon.getNumPoints();
  		}
  		return total;
  	}
docs: Return the sum of all the points of all the polygons in this MultiPolygon.