Task: Text to Code
Input (English): How many documents are using the template with type code 'PPT'?
Output (English): SELECT count(*) FROM Documents AS T1 JOIN Templates AS T2 ON T1.Template_ID  =  T2.Template_ID WHERE T2.Template_Type_Code  =  'PPT'