How to get "total snapshots" for profile results as Int?

Hellow, how to get “total snapshots” for profile results as Int ?

using Profile
f() = 1
for i = 1 : 100
  @profile f() 
end
Profile.print()
Overhead ╎ [+additional indent] Count File:Line; Function
=========================================================
 ╎1 @Base\client.jl:522; _start()
...
 ╎    ╎    ╎    1 ...dlib\v1.8\Profile\src\Profile.jl:596; stop_timer
Total snapshots: 1. Utilization: 100% across all threads and tasks. Use the `groupby` kwarg to break down by thread and/or task

I need to get the complexity or execution time of a function

Maybe @elapsed is better?

idiotic question?