we're planning on 8 relays or 8 bits. but you can, if you wish, depopulate any # of bits and save on relay cost and relay 'clatter' noise if you are happy with a 0-127 range of steps (for 7 bits) and 0-63 for 6 relays. you can edit the software and tell it you only have 6 relays installed and that you want the steps to be X dB, etc. being open-source, you can do anything you want to customize it for your install.
you can compute the value of the R's when you decide on the # of bits, output Z that is desired, step size (per increment of volume) and so on. the max is 8 relays since chips and machine-bytes prefer things in multiples of 8
but realize that you are free to pick a lower number if you want. as long as you update the software (examples will be given) and make it match the hardware you built, it will work.
my proto was 7 relays and I used 1dB as the step size. I've been using that for a while and I like this config. it saves on 1 relay and some relay noise and I, personally, don't see the need for half dB steps (even though the software allows for single dB and half dB steps) and a single click-up or down gets me a single dB and that works pretty well in the real world. and the range of 0dB (straight thru) to 127dB (near total mute) is more than enough for me!
you COULD build yours to go from 0dB to 255dB in 1dB steps but I'm not sure you'll find much use below 90 or 100dB of atten, in real world use. but you COULD build this to run in that range. no problem. maybe you want a lab grade atten (this passes DC, of course) and you really do want to atten that low (for non audio use). this module can do that. you have 8 bits to play with and you can map the native 0..255 range of those 8 bits of anything you want. if you want 0..255 to be 0-127dB in half db steps, that 'fits' in 8 bits also, so that is a valid configj, as well.