Add # of links to command buttons