Meditation is all about calming your mind, and counting your thoughts is one of the best ways for doing so.
Purple Om Lite is a free "thought counter" tool that helps you to keep control of the number of thoughts you have per minute while you meditate.
By taping your smart phone's screen each time you have a thought, Purple Om Lite keeps track of them.