Get total visits from beginning

There’s in Piwik a method or API to get the total visits from the beginning? (Not per years).

Thanks