a programm to count cash and get a summary