Task: Text to Code
Input (English): SQL: SELECT Count ( * ) FROM Songs
Feedback: Make sure songs are in studio albums .
Output (English): SELECT count(DISTINCT T3.title) FROM albums AS T1 JOIN tracklists AS T2 ON T1.aid  =  T2.albumid JOIN songs AS T3 ON T2.songid  =  T3.songid WHERE t1.type  =  "Studio"