How do you improvise a countermelody? Listen to things in the music and respond: imitate, vary, fill in gaps. Which tracks, though? Start with music that is harmonically uncomplicated enough that you can predict where it’s going, but with enough rhythmic interest to give you something to react to. I do not recommend the blues …