More work for element counting: use number class
merging test