Add Login.UsersActiveWeekly UMA metric.

BUG=chromium:365352
TEST=manual

Change-Id: Idfa406308ea4b37b89c82d97f1091bcee950017e
Reviewed-on: https://chromium-review.googlesource.com/202280
Reviewed-by: Alexander Alekseev <alemate@chromium.org>
Tested-by: Alexander Alekseev <alemate@chromium.org>
Reviewed-by: Bertrand Simonnet <bsimonnet@chromium.org>
Commit-Queue: Alexander Alekseev <alemate@chromium.org>
diff --git a/chromeos-cleanup-logs b/chromeos-cleanup-logs
index 5a1793a..e3d2693 100755
--- a/chromeos-cleanup-logs
+++ b/chromeos-cleanup-logs
@@ -166,6 +166,9 @@
 metrics_client Platform.DiskUsage.NumUserHomeDirectories \
                $NUMBER_OF_USERS 1 50 50
 
+WEEKLY_USERS_ACTIVE=$(cryptohome --action=dump_last_activity | awk '$2 <= 7' )
+metrics_client -s Login.UsersActiveWeekly ${WEEKLY_USERS_ACTIVE}
+
 # Report days since the least frequently used account signed in.
 # It is reported every time to measure effect of autodeletion feature.
 DAYS_SINCE_LFU_ACCOUNT_SIGNIN=$(cryptohome --action=dump_last_activity |