Often the connection between counting stones, playing solitaire, gambling, and so on, and anxiety and doubt, is not conscious. A person may play solitaire out of a vague feeling of restlessness and only an analysis might uncover the hidden function of his activity: to reveal the future.