Update DataManager.h

Added count function