I don't recall giving out a module to do this. Are you referring to this? :
http://dovetail.com/forum/viewtopic.php?t=745
If so, then I don't believe that SMF has anything to do with this. If I understand what you are doing, then you are redirecting the Co:Z SFTP server messages to /dev/console so that they are going to your system log.
Let me try to answer your question -
In both cases, Posix files and datasets, these count messages give you the number of bytes received over the network versus the number of records or bytes written to the file.
In the case of Posix files - the number of bytes received may not be the same as the number of bytes written, since the server settings may have a different line terminator.
In both cases, this message is written when the entire file has been received over the wire (there is a protocol ack to indicate this) and the entire file has been written. So this message will *never* tell you if the file is incomplete.
I hope that this clarifies the message a little, but I assume that this is not the news that you are looking for. I will try to follow up with some suggestions to meet your requirement.