A countermelody is a type of harmony. Harmony is the use of simultaneous pitches (tones, notes), or chords. I am hoping that this answer has satisfied your query and it will be able to help you in your endeavor, and if you would like, feel free to ask another question.