Create dbcount.php

counts the number of entries in the database