Try moving this line:
int Test::count = 0;
from the .h file to the .cpp file.
The problem is that each time you include "Test.h" the count variable gets defined - hence multiple definitions. Moving the line to the .cpp file ensures that there is only one definition of count.