Create countShapes.cpp