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:
| Date | Opponent | Score | Loss | Attendance | Record |
| --- | --- | --- | --- | --- | --- |
| July 1 | @ Cardinals | 7–4 | Wellemeyer (7–3) | 42425.0 | 41–42 |
| July 2 | @ Cardinals | 8–7 | Muñiz (0–1) | 40995.0 | 41–43 |
| July 3 | @ Cardinals | 11–1 | Boggs (3–1) | 43099.0 | 42–43 |
| July 4 | @ Phillies | 3–2 | Sánchez (3–1) | 44922.0 | 42–44 |
| July 5 | @ Phillies | 9–4 | Romero (4–2) | 45190.0 | 43–44 |
| July 6 | @ Phillies | 4–2 (12) | Durbin (2–2) | 45203.0 | 44–44 |
| July 7 | @ Phillies | 10–9 | Eaton (3–7) | 44655.0 | 45–44 |
| July 8 | Giants | 7–0 | Lincecum (10–2) | 48887.0 | 46–44 |
| July 9 | Giants | 5–0 | Sánchez (8–5) | 48896.0 | 47–44 |
| July 10 | Giants | 7–3 | Romo (0–1) | 48755.0 | 48–44 |
| July 11 | Rockies | 2–1 | Buchholz (3–3) | 49016.0 | 49–44 |
| July 12 | Rockies | 3–0 | Jiménez (4–9) | 54137.0 | 50–44 |
| July 13 | Rockies | 7–0 | Redman (2–5) | 51293.0 | 51–44 |
| July 17 | @ Reds | 10–8 | Cordero (4–2) | 23681.0 | 52–44 |
| July 18 | @ Reds | 5–2 | Maine (8–7) | 31922.0 | 52–45 |
| July 19 | @ Reds | 7–2 | Pérez (6–6) | 41959.0 | 52–46 |
| July 20 | @ Reds | 7–5 (10) | Bray (2–1) | 31195.0 | 53–46 |
| July 22 | Phillies | 8–6 | Smith (1–2) | 55081.0 | 53–47 |
| July 23 | Phillies | 6–3 | Madson (2–1) | 53444.0 | 54–47 |
| July 24 | Phillies | 3–1 | Romero (4–3) | 50962.0 | 55–47 |
| July 25 | Cardinals | 7–2 | Boggs (3–2) | 55372.0 | 56–47 |
| July 26 | Cardinals | 10–8 (14) | Heilman (1–4) | 53799.0 | 56–48 |
| July 27 | Cardinals | 9–1 | Lohse (12–3) | 53691.0 | 57–48 |
| July 28 | @ Marlins | 7–3 | Smith (1–3) | 23165.0 | 57–49 |
| July 29 | @ Marlins | 4–1 | Olsen (6–6) | 25032.0 | 58–49 |
| July 30 | @ Marlins | 7–5 | Pelfrey (9–7) | 25902.0 | 58–50 |
Question:
What was the attendance when the score was 8–7?
Answer:
40995.0