solved counting charge by using decision tree:)