Encoder code and counts ????? as units????

Can someone explain to me what unit is a count?

The following code is in the sample code in the file Smart Motors and Encoders: task main()
{
//Reset the current position in the motor encoder to zero.
resetMotorEncoder(leftMotor);
resetMotorEncoder(rightMotor);
//Set motor to run 5000 counts at power level 75.
moveMotorTarget(leftMotor, 5000, 75);
moveMotorTarget(rightMotor, 5000, 75);
//Blocking command prevents program from continuing until movement is complete.
waitUntilMotorStop(leftMotor);
waitUntilMotorStop(rightMotor);

We’ve coded in rotations and in degrees last year. What are counts???
Thanking ye in anticipation. Máire

Check out the documentation for getMotorEncoderUnits, it may be helpful. You can also use setMotorEncoderUnits to choose which you prefer.:

getMotorEncoderUnits

setMotorEncoderUnits