Adds cpu count to CPU check

Adds the cpu count and tests to make sure it is not nil. 

Checking to see if anything needs to be added to the agent endpoint.