-- 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 ] |
-- -- In 1980, how many singles were released by sugar daddy?

SELECT COUNT(releaseType) FROM torrents WHERE artist LIKE 'sugar daddy' AND releaseType LIKE 'Single' AND groupYear = 1980;