Complete the function definition below.
Given an array of objects with all the departments & their specific count in an office, the function should return the total count of the office.
count
property of departmentCount
object will always be of the type integer
.
For example: