Before jumping to a conclusion, or worrying, I would suggest gathering some information.
First, make a note of what is going on when you see her counting, or touching her eyes, or picking her lips. Note: time of day; what has she just done (just finished eating, watching tv, just got up from sleeping, etc) or what she is getting ready to do (go to preschool or getting ready for bed etc); is she tired or hungry; what is going on around her (a sibling is being loud, or is the room warm or cool, are there sounds like tv or someone playing music, etc). Make a few columns in a notebook for TIME, ACTIVITY RECENTLY COMPLETED or ANTICIPATED ACTIVITY, ENVIRONMENTAL SOUNDS or something like that. You may notice a pattern, or a specialist may.
Then, try to capture her behaviors on your cell phone camera or video camera. Try to be discreet, that is, don't call attention to the fact that you're filming her.
Do this for a few days or a week, and then show the video and journal to your pediatrician. She just may be enjoying her counting skills, and she might just have really annoyingly dry chapped lips. Or your pediatrician may say that it looks a little out of the norm and refer you.
And in the meantime, try little distractions, like offering her Chapstick for her lips, or getting her to sing a little song with you, and maybe getting her a fun activity that will keep her hands occupied (Playdoh or something similar). But don't appear anxious, or sound like you're trying to change her behavior. Simply try to alleviate her anxiety in a subtle way.