Whoops, minor error. The higher weight one needs to ensure that the value isn't 0.

```Facter.add(:processorcount) do
  has_weight 10
  setcode do
    output = Facter.value(:activeprocessorcount)
    if output != 0
      output
    end
  end
end
```