Diplomats say vote counting in the South American country “lacked credibility and transparency”.