Estimating the Self-Consistency of LLMs