Add cook channel count function, part of multichannel cook