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: How many christmas albums were released in 2004?
Evidence: album refers to releaseType; groupYear = 2004; tag = 'christmas';

SQL:
SELECT COUNT(T1.id) FROM torrents AS T1 INNER JOIN tags AS T2 ON T1.id = T2.id WHERE T2.tag = 'christmas' AND T1.groupYear = 2004 AND T1.releaseType LIKE 'album'