Calibre normaly does that when you use "Send to Device" + Kindle device.
IIRC this plugin originated when people wanted to have page count when using Kindle apps / when using "Save to disk" to transfer book into Android tablets and similar scenarios.
|