What is the minimum length for rod and pipe grounding electrodes?

What is the minimum length for rod and pipe grounding electrodes?