counting.cpp