How many justices must agree to hear a case on appeal? Is it two or three or four or five?

Four justices must agree to hear a case on appeal.