Specifying hierarchical Binomial model when individuals have varying numbers of trials?

n should be a vector with the same length as coin_data, something like [10, 9, 5, 6, …] that each element indicates the total n of that specific observed trial