question: private static float calculateScore ( final int [ ] playCounts ) { if ( playCounts == null ) { return 0 ; } float score = 0 ; for ( int i = 0 ; i < Math . min ( playCounts . length , NUM_WEEKS ) ; i ++ ) { score += playCounts [ i ] * getScoreMultiplierForWeek ( i ) ; } return score ; }
target:  Calculates the score of the song given the play counts