Top "Count" questions

Count refers to the number of objects in a collection.

How to count how many values per level in a given factor?

I have a data.frame mydf with about 2500 rows. These rows correspond to 69 classes of objects in colum 1 mydf$V1, …

r count frequency
Using GroupBy, Count and Sum in LINQ Lambda Expressions

I have a collection of boxes with the properties weight, volume and owner. I want to use LINQ to get …

linq count lambda group-by sum
How to count the number of occurrences of a character in an Oracle varchar value?

How can I count number of occurrences of the character - in a varchar2 string? Example: select XXX('123-345…

sql oracle count oracle10g
Lists: Count vs Count()

Given a list, which method is preferred to determine the number of elements inside? var myList = new List<string&…

c# .net list linq count
How to count items in JSON data

How I can get the number of elements in node of JSON data? JSON: { "result":[ { "run":[ { "action":"stop" }, { "action":"start" }, { "…

python json count element
jQuery count number of divs with a certain class?

Considering something like this; <div class="wrapper"> <div class="item"></div> <div class="…

jquery html count
Getting the size of an array in an object

I would like some help with getting the size of an array inside an object: var st = { "itema":{...},"itemb":[{"id":"…

javascript arrays object count
Linq with group by having count

how do I write this query in linq (vb.net)? select B.Name from Company B group by B.Name …

linq count group-by having
Count the Number of Tables in a SQL Server Database

I have a SQL Server 2012 database called MyDatabase. How can I find how many tables are in the database? I'm …

sql-server tsql count sql-server-2012 database-table
PHP: Count a stdClass object

I have a stdClass object created from json_decode that won't return the right number when I run the count($…

php count stdclass