An Approach to Counting Vehicles from Pre-Recorded Video Using Computer Algorithms