added ability to count elements / selectors