Create objectscounter.cpp