code: public void setBitCount(int count) {
          bitCount = count;
          discretes = new BitVector(count);
          //set correct length, without counting unitid and fc
          setDataLength(discretes.byteSize() + 1);
      }
docs: Sets the number of bits in this response.
  
  @param count the number of response bits as int.