Modular, higher order cardinality analysis in theory and practice. (16th February 2017)