Added Tep word counting function to database.
Added initial version of the ambiguity metrics.
Added initial version of the ambiguity metrics.