How do they check how far dilated?

How will midwives and doctors check how far dilated I am? I was told by a friend to expect to see them put five fingers in my vagina. Is this true? Five?!