add getInputBufferCount
revert getInputBufferCount