Added CountColumns method to the IOmanager