Puzzle #508

What is the next number in this pattern?

J 1 K 3 L 2 M 4 N 3 O 0 P 1 Q 1 R