The wheel has 20 holes, so every rise/fall means it has rotated 360/20 = 18 degrees. To measure the speed you still need a sensor that can see if a hole is passing by.