Number of non-negative integral solutions