Task: Text to Code
Input (English): SQL: SELECT Count ( * ) FROM Vocals WHERE Type = "lead"
Feedback: Make sure to find number of songs in songs table .
Output (English): SELECT count(DISTINCT title) FROM vocals AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid WHERE TYPE  =  "lead"