If the issue is fitting a click to the 2 bar count-in roll, why can't it just play the click then start from bar 1 or any custom bar number without playing -1 & 0 ?
The same as the script I made to do this.
The only issue I can see is it won't play any pickup notes in bar 0