Database schema:

CREATE TABLE tags (
	"index" INTEGER -- example: ['0', '1'],
	id INTEGER -- example: ['0', '2'],
	tag TEXT -- example: ['funk', '1970s'],
	PRIMARY KEY ("index"), 
	CONSTRAINT fk_tags_torrents FOREIGN KEY(id) REFERENCES torrents (id)
)


CREATE TABLE torrents (
	"groupName" TEXT -- example: ['spiderap / a corona jam', 'superappin&#39;'],
	"totalSnatched" INTEGER -- example: ['239', '156'],
	artist TEXT -- example: ['grandmaster flash & the furious five', 'ron hunt & ronnie g & the sm crew'],
	"groupYear" INTEGER -- example: ['1979', '1980'],
	"releaseType" TEXT -- example: ['single', 'album'],
	"groupId" INTEGER -- example: ['720949', '728752'],
	id INTEGER -- example: ['0', '1'],
	PRIMARY KEY (id)
)

Question: List the name of artists who have released albums and mixtape from 1980 to 1985 in "dance" genre.
Evidence: albums and mixtape refer to releaseType; from 1980 to 1985 refers to groupYear between 1980 and 1985; tag = 'dance';

SQL:
SELECT COUNT(T1.artist) FROM torrents AS T1 INNER JOIN tags AS T2 ON T1.id = T2.id WHERE T2.tag = 'dance' AND T1.groupYear BETWEEN 1980 AND 1985 AND T1.releaseType LIKE 'album' OR T1.releaseType LIKE 'mixtape'