@Elizafox You don't have to count black nodes at all, because as long as the rules were true before you put the node in, and you followed the fixup algorithms (which I have also forgotten, and forgot shortly after my CS 241 Algorithms and Data Structures course), they will be true after