Adds a check for path counts.