Update views.py

Change how count is calculated for testing