Fixed issue of title not showing by moving initialization to init function, also added total card count.