Correct. There are two whole numbers (3 and 4) that are greater than 2 and less than 5.