“Too many” kinda sounds right to my ear because beans is plural, but the second logically seems right because its served by volume and is not ‘countable’ as ordinary (non-destroyed) beans might be.
I think it depends on if you view beans as individual beans or not.