The API allows Statistics execution and manage StatisticsModel, one per workspace.
Statistics
StatisticsModel
How should a Statistics/Metrics be implemented is defined in the org.gephi.statistics.spi package.
org.gephi.statistics.spi