how to count objects in the oops. with using static variable. how to initialize static variable in classes