real vertex count addon
Use Edge Split

Do not use hard shading, always use smooth shading on the whole object and use the edge split modifier instead. You can split edges based on angle or mark edges sharp with ctrl + e and mark sharp manually. This will make blender report the proper vertex count when no seams are present. Using the script that counts the UV vertices should give the proper vertex count with edge split and seams.