count++; track.setRating(sum / count);
weight += track.getWeight(); track.setRating(sum / weight);
    public void add(Track track) {      sum += track.getRating();      count++;      track.setRating(sum / count);    }