A solid pyramid $TABCD$, with a quadrilateral base $ABCD$ is to be coloured on each of the five faces such that no two faces with a common edge will have the same colour. If five different colours are available, what is the number of ways to colour the pyramid?