Task: Text to Code
Input (English): SQL: SELECT Count ( * ) FROM Band WHERE Lastname = "Heilo"
Feedback: Replace band table with instrument instruments , make sure to find total number of instrument instruments .
Output (English): SELECT count(DISTINCT instrument) FROM instruments AS T1 JOIN Band AS T2 ON T1.bandmateid  =  T2.id WHERE T2.lastname  =  "Heilo"