How often you urinate can feel like a small detail, but it can also be a useful snapshot of what is happening in your body.