Yes. However, the reality is that sometimes you don't actually know how many bugs there are in the code--a bug may not be just one line of code, it might be a lot more.
Or the bug might be due to a incorrect assumption that was made, and if that assumption turns out to be wrong, multiple chunks of new code need to be written.