Motor Encoder - Program an action for every loop

Yes that is correct. I think the number of counts doesn't equal out to a complete rotation: Here is the page for the motor: https://www.pololu.com/product/4844

The encoder is capable of 1632.67 counts per rotation if you count the rise and fall of each sensor. I'm counting the rise of just one (1632.67/4 = 408.1675)