counting configurations
multiset binomium