Fixed count middle function + tests
Merge branch 'feature/create_decision_algorithm' into Develop

Conflicts:
	src/test/java/org/pwr/ii/criteria/PriceCriterionTest.java
	src/test/java/org/pwr/ii/criteria/VoltageCriterionTest.java