Improved accuracy of count. Fixed a bug in deleting videos