made getOutputFeatureCount public; it's needed in calvalus
(cherry picked from commit 4bf0edf)