Using is_incremental() macro, how can I capture created/updated records and show in the log?

I have built incremental model but need created/updated record count captured in the log on each run. Can someone please help giving help on it? Thanks.

The problem I’m having

The context of why I’m trying to do this

What I’ve already tried

Some example code or error messages

Put code inside backticks
  to preserve indentation
    which is especially important 
      for Python and YAML!