added functions to compute the size of the support of systems