-- Database schema
| torrents : groupName [ TEXT ] , totalSnatched [ INTEGER ] , artist [ TEXT ] , groupYear [ INTEGER ] , releaseType [ TEXT ] , groupId [ INTEGER ] , id [ INTEGER ] primary_key | tags : index [ INTEGER ] primary_key , id [ INTEGER ] , tag [ TEXT ] |
-- -- How many singles were released between 1979 and 1981 labeled as "soul"?

SELECT COUNT(T2.tag) FROM torrents AS T1 INNER JOIN tags AS T2 ON T1.id = T2.id WHERE T2.tag = 'soul' AND T1.groupYear BETWEEN 1979 AND 1981 AND T1.releaseType LIKE 'single';