Compiling the number of chains in WinBUGS