How do you countif for 2 conditions?

countif ( A1 = "Red" and "B1 = blue")

Bruce