human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Former country name, Former codes, Period of validity, ISO 3166-3 code, New country names and codes
###Question: Name the total number for period of validity for upper volta
gpt
SELECT COUNT Period of validity FROM table WHERE Former country name = Upper Volta