control: Add count state set target action

Add the YAML based count_state_before_speed action function as an action
class for JSON configs to use.

Change-Id: Ibfb54190728ebcd22229fe665dae864666054d9d
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
diff --git a/control/Makefile.am b/control/Makefile.am
index 7d7824a..d90adc1 100644
--- a/control/Makefile.am
+++ b/control/Makefile.am
@@ -33,7 +33,8 @@
 	json/event.cpp \
 	json/actions/default_floor.cpp \
 	json/actions/request_target_base.cpp \
-	json/actions/missing_owner_target.cpp
+	json/actions/missing_owner_target.cpp \
+	json/actions/count_state_target.cpp
 else
 phosphor_fan_control_SOURCES += \
 	argument.cpp \