Question 12In the diagram, an ant is moving from $A$ to $B$. If the ant is only allowed to move to the right or upwards along the grid lines, how many different paths are there from $A$ to $B$?