Amnesty International recorded at least 993 executions in 23 countries in 2017, with most executions taking place in China, Iran, Saudi Arabia, Iraq and Pakistan.