How many people on a Gaelic football field?

At a start of a match there are 31 people on the pitch. Two teams of 15 players each and the referee.