count now updating from data