(experimental) count number of variables in size