Number of shifts