Just use a select statement:
Code:
    Select Count(*) From TableName;