@Msjudy,
She is comforting herself. It is quite normal. My daughter used to like to touch other kid's ears even walking next to them with her hand on the other kid's ear in pre-school. (She's now 40 and a very successful hair stylist)
My grandson had to have his fuzzy blanket with him all the time. Many kids need this kind of security touching, although this little gals behavior does seem excessive.
Can she be given ONE item (piece of silk, fuzzy, little stuffed animal) that she could use during this time?
Have you asked her parents about this? Is it a problem at home? The most important thing is for her to not be shamed about this by adults. Let the other kids say something to her - as they should when someone touches them how they don't like.