diff --git a/magneticow/magneticow/magneticow.py b/magneticow/magneticow/magneticow.py
index c6d43fc..cccc3cd 100644
--- a/magneticow/magneticow/magneticow.py
+++ b/magneticow/magneticow/magneticow.py
@@ -67,7 +67,17 @@ def requires_auth(f):
@app.route("/")
@requires_auth
def home_page():
- return flask.render_template("homepage.html")
+ magneticod_db = get_magneticod_db()
+ context = {}
+
+ with magneticod_db:
+ cur = magneticod_db.execute(
+ "SELECT"
+ " count(id) "
+ "FROM torrents ;")
+ context["counter"] = cur.fetchall()
+
+ return flask.render_template("homepage.html",**context)
@app.route("/torrents/")
diff --git a/magneticow/magneticow/static/styles/homepage.css b/magneticow/magneticow/static/styles/homepage.css
index d6659e0..8f8fb82 100644
--- a/magneticow/magneticow/static/styles/homepage.css
+++ b/magneticow/magneticow/static/styles/homepage.css
@@ -20,4 +20,11 @@ main form input {
main > div {
margin-right: 0.5em;
-}
\ No newline at end of file
+}
+
+footer {
+ margin-top: 0.833em;
+
+ display: flex;
+ justify-content: space-between;
+}
diff --git a/magneticow/magneticow/templates/homepage.html b/magneticow/magneticow/templates/homepage.html
index 3e0eed7..6ad415e 100644
--- a/magneticow/magneticow/templates/homepage.html
+++ b/magneticow/magneticow/templates/homepage.html
@@ -15,5 +15,9 @@
+
+