Nested functions should be counted as separate functions instead of as part of it's parent. They are a nice way to reduce visibility of code.