#include <iostream>

		class Employee { /* fill in rest as before */
		public:
		    Employee(/*...*/) { /* ... */
		        getCounter()++;
		    }
		    ~Employee(/*...*/) { /* ... */
		        getCounter()--;
		    }
		
		    static auto getCount() -> std::size_t {
		        return getCounter();
		    }
		private:
		    // replace counter static field in class context,
		    //    with counter static variable in function context
		    static auto getCounter() -> std::size_t& {
		        static std::size_t counter = 0;
		        return counter;
		    }
		};
    
int main() {
	std::cout << "Initial employee count = " << Employee::getCount() << std::endl;
	
	Employee emp1 {};
	std::cout << "Count after an employee created = " << Employee::getCount() << std::endl;
	
	{
		Employee emp2 {};
		std::cout << "Count after another employee created = " << Employee::getCount() << std::endl;
	}
	std::cout << "Count after an employee removed = " << Employee::getCount() << std::endl;

	return 0;
}