count object revised into array of objects, below commented out until efficacy established