Table: capverde_hdi
Columns: index
score
palop_rank
cplp_rank
n_africa_rank
world_rank
year

Question: What year had a score of 0.586?
SQL: SELECT COUNT("year") FROM capverde_hdi WHERE "score" = '0.586'

Question: What's the n Africa in 2012 with an N/A as the CPLP?
SQL: SELECT "n_africa_rank" FROM capverde_hdi WHERE "year" = 2012 AND "cplp_rank" = 'n/a'