i am new to mongodb and i have a problem. in my \'employees\' collection I have fields like \'city\' or \'salary\'. I want to write a function that counts salaries in a give