Endorsement count added and tests pass