It doesn't count towards final grades.
However, lots have failed parts as have I.
Everything I failed was only by a couple of percent. Having suffered a severe head injury, which is a long term condition, has proven an eye opener. I have had so many problems that no one else has and it has taken the university so long to offer support because I refused to ask for so long.
To top it off some of it may be related to my broken eye socket and the opticians saying I have good vision not requiring glasses. But after insisting there is a problem causing me headaches and fatigue.... I now require glasses after extra tests and prisms etc.