Synopsis:
key_count=term_kbqsize()
Arguments:
NONE
Description: This function returns the number of keys that are waiting in the keypress buffer. A maximum of 256 keys will be stored in the buffer after which they will start to be overwritten. Keys are removed from the buffer by calls to term_kbget() or term_kbedit().