alex bakes $24$ apple, blueberry, and cherry pies. The ratio of apple to blueberry to cherry pies is $1:4:3$. How many cherry pies did Alex bake?