The calibre kindle device driver has its own methods of calculating page numbers. I believe that you need to configure it to use the page numbers produced by Count Pages instead.
I don't use this myself, so I don't know the exact method.
---
The instructions are under the heading "Sending your Custom Count to a Kindle" in the first post of the
Count Pages plugin thread.