deduct parameters from total device number