Computing the song duration