@Klarahh welcome to the KNIME forum.
The Random Forest Predictor – KNIME Community Hub has voting functions (also: Tree Ensemble Predictor – KNIME Community Hub, How to use the Tree Ensemble nodes – KNIME Community Hub) that you can influence (you can find an example here). You might want to define what you intend to do tough.
Also there is a specific node Voting Loop End – KNIME Community Hub that might be able to provide support.
Maybe you would also benefit from taking a basic course about Machine Learning: