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

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