How to use the -Ystatistics compiler flag in Scala 2.12?

I have added -Ystatistics flag to scalacOptions in my build.sbt. But I am not sure how I should use this flag to get statistics from the compiler. I read this blog - Speeding Up Compilation Time with scalac-profiling | The Scala Programming Language . I could not follow on how to do this for scala projects fromt the SBT console.