Keep a running total as cards are dealt. A higher count means the remaining deck favors you.
This app uses the Hi-Lo system, the most widely used card counting method.