added total count and warning msg if no input
added total count
added basic styling