Create countValues.cpp