Please read the following table in Markdown format and then answer the question according to the table. Table cells in one row are seperated by '|', and different rows are seperated by '
'.

Table:
| Home Team | Score | Away Team | Date | Agg |
| --- | --- | --- | --- | --- |
| Aberdeen | 7–1 | Hamilton Academical | 11-10-1978 | 8–1 |
| Airdrieonians | 1–2 | Arbroath | 10-10-1978 | 2–3 |
| Ayr United | 1–1 | Falkirk | 11-10-1978 | 3–1 |
| Clydebank | 1–1 | Hibernian | 11-10-1978 | 1–2 |
| Morton | 5–2 | Kilmarnock | 11-10-1978 | 5–4 |
| Montrose | 5–1 | Raith Rovers | 11-10-1978 | 5–4 |
| Motherwell | 1–4 | Celtic | 11-10-1978 | 2–4 |
| St. Mirren | 0–0 | Rangers | 11-10-1978 | 2–3 |
Question:
during the second leg, what number of matches ended in a draw?
Answer:
3