CREATE TABLE table_name_17 (total VARCHAR(255), affiliation VARCHAR(255), life_peers VARCHAR(255), hereditary_peers VARCHAR(255), lords_spiritual VARCHAR(255))
Which Total has a Hereditary peer of –, and a Lords spiritual of –, and a Life peers of 2, and an Affiliation of plaid cymru?
    
SQL: SELECT COUNT(total) FROM table_name_17 WHERE hereditary_peers = "–" AND lords_spiritual = "–" AND life_peers = "2" AND affiliation = "plaid cymru"