added counter to bin_dimensions