SELECT COUNT(*) FROM (SELECT groupname FROM torrents GROUP BY groupname HAVING COUNT(*) > 1)
How many same release titles are there in the table?
CREATE TABLE tags (
    index number,
    id number,
    tag text
)

CREATE TABLE torrents (
    groupname text,
    totalsnatched number,
    artist text,
    groupyear number,
    releasetype text,
    groupid number,
    id number
)