num of inputs