|#|Date|Venue|Opponent|Score|Result|Competition|
|---|---|---|---|---|---|---|
|1.|16 November 2005|Tehelné pole, Bratislava, Slovakia|Spain|1–0|1–1|2006 FIFA World Cup play-offs|
|2.|20 May 2006|Štadión Antona Malatinského, Trnava, Slovakia|Belgium|1–0|1–1|Friendly|
|3.|13 October 2007|Štadión Zimný, Dubnica, Slovakia|San Marino|5–0|7–0|UEFA Euro 2008 qualifying|
|4.|21 November 2007|Stadio Olimpico, Serravalle, San Marino|San Marino|0–2|0–5|UEFA Euro 2008 qualifying|
|5.|9 September 2009|Windsor Park, Belfast, Northern Ireland|Northern Ireland|0–2|0–2|2010 FIFA World Cup qualification|
|6.|3 September 2010|Pasienky, Bratislava, Slovakia|Macedonia|1–0|1–0|UEFA Euro 2012 qualification|
|7.|29 March 2011|Štadión Antona Malatinského, Trnava, Slovakia|Denmark|1–1|1–2|Friendly|

Question: what were the number of times san marino was an opponent?
Answer: 2