I am looking for a way to determine the total number of residents in a particular city without relying on a traditional for loop. Can you help me understand how to achieve this using the given function?
function tallyPeopleInManchester(people) {
/* The task is to create a function that can count the individuals living in Manchester based on an array of people objects structured as follows:
[
{ name: 'Emmeline', lives: { country: 'UK', city: 'Manchester' }, age: 32 }
]
The desired output should be the total count of people residing in the city of Manchester
*/