Sec. 9. The court may require the parties to seek counseling for themselves or for a child of the parties under such terms and conditions that the court considers appropriate if:
(1) either party makes a motion for counseling in an effort to improve conditions of their marriage;
(2) a party, the child of the parties, the child's guardian ad litem or court appointed special advocate, or the court makes a motion for counseling for the child; or
(3) the court makes a motion for counseling for parties who are the parents of a child less than eighteen (18) years of age.