Added the count

- also removed the isLoggedIn() check from time()