Do you think the Supreme Court acts as a counter majoritarian institution?

Describe if the supreme court acts as a majoritarian or counter majoritarian institution and public’s opinion on the court.Do you think the Supreme Court acts as a counter majoritarian institution? What is the impact of public opinion on the court?