$\require{cancel}$
static has several meanings in c++
static
static int foo=7
this
ClassT::StaticMember()
class CountedT{
private:
// old style
static size_t count;
// since c++17
static inline size_t newCount{0};
};
// probably in implementation file, not header file
// again old style
size_t CountedT::count{0};