Refactored counter array into questions cookie