added a criteria counter