There are four toes on each leg - two pointing forward (third and second) and two pointing backward (first and fourth). This type of foot structure is characteristic of parrots (also woodpeckers or owls) and is called zygodactyly.
The parrot's toes are long, delicate, and susceptible to damage.