<p>How can we find out that how many applications are there in a database?</p>

Do you mean stored procedures? You can have multiple applications using the same login credentials accessing a given database from the same web server, so you can't simply count databases or tables to get that number.